(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <clib/diskfont_protos.h>
struct TextFont * OpenDiskFont()
SYNOPSIS
struct TextAttr * textAttr

LOCATION
In DiskfontBase at offset 5
FUNCTION
Tries to open the font specified by textAttr. If the font has allready been loaded into memory, it will be opened with OpenFont(). Otherwise OpenDiskFont() will try to load it from disk.

INPUTS
textAttr
Description of the font to load. If the textAttr->ta_Style FSF_TAGGED bit is set, it will be treated as a struct TTextAttr.
RESULT
Pointer to a struct TextFont on success, 0 on failure.

NOTES
EXAMPLE
BUGS
Loadseg_AOS() which is internally used to load a font file from disk, does not handle address relocation for 64 bit CPUs yet. Will add a hack to support this.

SEE ALSO
AvailFonts()
INTERNALS
HISTORY
23.07.1997 nlorentz
First working version
30.06.1997 nlorentz
Fixed some "undefined symbols", but I still get "undefined symbol SysBase, and can't see why :(
30.06.1997 nlorentz
Availfonts()